POV-Ray : Newsgroups : povray.binaries.animations : Particles again... (MPG1, 428kb) : Particles again... (MPG1, 428kb) Server Time
18 Jul 2024 18:34:07 EDT (-0400)
  Particles again... (MPG1, 428kb)  
From: Tim Nikias v2 0
Date: 17 Mar 2004 20:29:57
Message: <4058fb95@news.povray.org>
So, I've had some trouble with my new particle-system lately, some
particles, when being pushed against walls due to wind or such, would just
pop through the wall and move outside...

I've made several attempts and used several approaches to circumvent this
problem and it seems like I've found a solution. Still, with all the
accuracy this System requires for it's adaptive sampling, trace()-calls etc,
there's no 100% guarantee that a particle will never pass through a wall.

Anyways, there are still some issues to get settled before I can release the
code to the public (some features still need to get implemented), but I
wanted to show off a little, just to show that I'm working on it. :-)

In this animation, the particles are restricted to a spherical/elliptical
hull. When they hit the barrier, they cause some tiny shockwaves. Here I
show off that the particles' data may include an endless amount of Vectors
(so you may tug as much information along with a particle as you want to)
and when Impacts occur, this data may be accessed or even modified.

Here, every particle is assigned a color, which it carries along until it
dies. Whenever an impact spawns a shockwave-particle, the color is given to
the shockwave.

The movement is generated using the vturbulence()-vector-expression to
generate a modifying vector based on the particle's current location.

Regards,
Tim


-- 
"Tim Nikias v2.0"
Homepage: <http://www.nolights.de>
Email: tim.nikias (@) nolights.de


Post a reply to this message


Attachments:
Download 'windtest.mpg' (429 KB)

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.